<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>预定义常量</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="iconv.resources.html">资源类型</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="ref.iconv.html">iconv 函数</a></div>
 <div class="up"><a href="book.iconv.html">iconv</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="iconv.constants" class="appendix">
 <h1>预定义常量</h1>

 <p class="para">
  自 <span class="application">PHP</span> 4.3.0 起，它能够在运行时识别此扩展使用了哪种实现（implementation）。
  <table class="doctable table">
   <caption><strong><em>iconv</em> 常量</strong></caption>
   
    <thead>
     <tr>
      <th>名称</th>
      <th>类型</th>
      <th>描述</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr id="constant.iconv-impl">
      <td><strong><code>ICONV_IMPL</code></strong></td>
      <td><span class="type"><a href="language.types.string.html" class="type string">string</a></span></td>
      <td>实现（implementation）的名称</td>
     </tr>

     <tr id="constant.iconv-version">
      <td><strong><code>ICONV_VERSION</code></strong></td>
      <td><span class="type"><a href="language.types.string.html" class="type string">string</a></span></td>
      <td>实现（implementation）的版本</td>
     </tr>

    </tbody>
   
  </table>

 </p>
 <blockquote class="note"><p><strong class="note">Note</strong>: 
  <p class="para">
   通过这些常量编写依赖于实现的脚本是极其不建议的。
  </p>
 </p></blockquote>
 <p class="para">
  自 <span class="application">PHP</span> 5.0.0 起，以下常量同样有效：
  <table class="doctable table">
   <caption><strong>自 PHP 5.0.0 起的 <em>iconv</em> 常量</strong></caption>
   
    <thead>
     <tr>
      <th>名称</th>
      <th>类型</th>
      <th>描述</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr id="constant.iconv-mime-decode-strict">
      <td><strong><code>ICONV_MIME_DECODE_STRICT</code></strong></td>
      <td><span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span></td>
      <td>使用于 <span class="function"><a href="function.iconv-mime-decode.html" class="function">iconv_mime_decode()</a></span> 的位掩码</td>
     </tr>

     <tr id="constant.iconv-mime-decode-continue-on-error">
      <td><strong><code>ICONV_MIME_DECODE_CONTINUE_ON_ERROR</code></strong></td>
      <td><span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span></td>
      <td>使用于 <span class="function"><a href="function.iconv-mime-decode.html" class="function">iconv_mime_decode()</a></span> 的位掩码</td>
     </tr>

    </tbody>
   
  </table>

 </p>
</div>
<hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="iconv.resources.html">资源类型</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="ref.iconv.html">iconv 函数</a></div>
 <div class="up"><a href="book.iconv.html">iconv</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
